package com.schoolET.service.wechat;

import com.schoolET.entity.dto.WechatInfoDTO;
import com.schoolET.entity.vo.EditWechatInfoVO;

/**
 * @author: lin
 * @interface: UserLoginService
 * @createTime: 2024-06-05  19:15
 * @description: 用户登录服务
 */
public interface WechatClientService {

    /**
     * @description: true 代表数据库有这个用户 false没有
     * @author: lin
     * @date: 2024/6/11 15:08
     * @param: openId
     * @return: boolean
     **/
    boolean getOpenId(String openId);

    WechatInfoDTO getWechatInfo(String openId);

    /**
     * @description: 修改用户信息
     * @author: lin
     * @date: 2024/6/17 20:53
     * @param: openId
     * @param: editWechatInfoVO
     * @return: boolean
     **/
    boolean editWechatInfo(String openId, EditWechatInfoVO editWechatInfoVO);

}
